/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package avl.sv.shared;

import java.io.Serializable;
import java.util.ArrayList;
import javax.swing.tree.DefaultMutableTreeNode;

/**
 *
 * @author benbryan
 */
public class SlideSets extends DefaultMutableTreeNode implements Serializable   {

    public ArrayList<SlideSet> getSlideSets() {       
        if (children == null){
            return new ArrayList<>();
        }
        ArrayList<SlideSet> slideSet = new ArrayList<>();
        for (Object r:children){
            if (r instanceof SlideSet){
                slideSet.add((SlideSet)r);
            }
        }
        
        return slideSet;
    }


}